#ifndef __WORLDMODEL_H__
#define __WORLDMODEL_H__

#include "WorldModelNode.h"
#include "LogParser/LogParser.h"
#include <vector>
#include <time.h>

class WorldModel
{
public:
	WorldModel();
	~WorldModel();

	void ParseLog( const std::string& name );
	unsigned int Size();
	WorldModelNode* WM( int idx );
	std::vector<WorldModelNode*>& WMVec();

private:
	std::vector<WorldModelNode*> m_WMNodes;
	LogParser m_LogParser;

	void UpdateOmittedInfo();
};
#endif //__WORLDMODEL_H__